/**
 * Created by chentao on 2018/1/2.
 */

import React, { Component } from 'react'
import { View } from 'react-native'
import { statusBarHeight, width } from '../utils/AdapterUtil'
import * as Color from '../configs/Color'

/**
 * 状态栏占位组件,
 */
export default class StatusBarWhiteSpace extends Component {
  render() {
    return (
      <View
        style={{
          width,
          height: statusBarHeight,
          backgroundColor: Color.titleBarBackground,
        }}
      />
    )
  }
}
